/********************************************************
 Name          : data_link_if.c
 Author        : Khachatur Gyozalyan
 Copyright     : Copyright by Antel Systems
 Description   :
 **********************************************************/
// Include Files
#include "data_link_if.h"
#include "llc/llc.h"



unsigned char gPriority = TX_DATA_PRIORITY_IS_LOW_OR_NOT_SPECIFIED;


unsigned char get_link_priority(void)
{
	return gPriority;
}

void set_link_priority(unsigned char priority)
{
	if(priority > TX_DATA_PRIORITY_IS_VERY_HIGH)
		gPriority = TX_DATA_PRIORITY_IS_VERY_HIGH;
	else
		gPriority = priority;
}




